package com.ming.seatMonitoring.service.ServiceImpl;

import com.ming.seatMonitoring.mapper.LoginMapper;
import com.ming.seatMonitoring.pojo.DO.UserInfoDO;
import com.ming.seatMonitoring.service.LoginService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author 小明
 * @date 2021/10/20
 * @description
 */
@Service
public class LoginServiceImpl implements LoginService {
    @Autowired
    private LoginMapper loginMapper;

    @Override
    public UserInfoDO login(String userId,String passWord) {

        final UserInfoDO userInfoDO1 = loginMapper.seleteUserInfo(userId,passWord);

        return userInfoDO1;
    }
}
